module.exports = [
  // teacher
  { "method": "post", "url": "/teacher/register", "noAuth": [], "needLogin" : false },
  { "method": "post", "url": "/teacher/login", "noAuth": [], "needLogin" : false },
  { "method": "get", "url": "/teacher/getTeacher/:id", "noAuth": [], "needLogin" : true },
  // studnet
  { "method": "post", "url": "/student/add", "noAuth": [], "needLogin" : false },
  { "method": "post", "url": "/student/update/:id", "noAuth": [], "needLogin" : false },
  { "method": "get", "url": "/student/getStudent/:id", "noAuth": [], "needLogin" : false },
  // course
  { "method": "post", "url": "/course/addCourse", "noAuth": [], "needLogin" : true },
  { "method": "get", "url": "/course/getCourseByPage", "noAuth": [], "needLogin" : true },
  { "method": "post", "url": "/course/addStudent", "noAuth": [], "needLogin" : false },
  // sign 
  { "method": "post", "url": "/sign/addSign", "noAuth": [], "needLogin" : true },
  { "method": "get", "url": "/sign/getSignByPage", "noAuth": [], "needLogin" : true },
  { "method": "post", "url": "/sign/addStudent", "noAuth": [], "needLogin" : false },
  // ohers其他
  { "method": "get", "url": "/others/verify_token", "noAuth": [], "needLogin" : true },
  { "method": "get", "url": "/others/make_code", "noAuth": [], "needLogin" : false },
  { "method": "post", "url": "/others/getOpenId", "noAuth": [], "needLogin" : false },
]